<style type="text/css">
    #RCPanel {width: 200px;  float:left;}
    #ACPanel {width: 300px;  float:right;}
</style>
<?php form_pr('pp_frm', '', '', 'post'); ?>
<div id="AppPool">
    <div id="ORPanel" style="display:inline" class="Selector"
         onClick="this.className='Selector_Click';
             CLPanel.className='Selector';
             RCPanel.className='Selector';
             ACPanel.className='Selector';
             DPPanel.className='Selector';
             EXPanel.className='Selector';
             Ext.onReady(function(){
                 Ext.getCmp('ActiveObName').setText('ORDEM');
                 Ext.getCmp('ActiveOb').setText('OR');
                 Ext.getCmp('ActiveObID').setText(document.pp_frm.FraID.value);
             });"></div>
    <div id="CLPanel" style="display:inline" class="Selector"
         onClick="this.className='Selector_Click';
             ORPanel.className='Selector';
             RCPanel.className='Selector';
             ACPanel.className='Selector';
             DPPanel.className='Selector';
             EXPanel.className='Selector';
             Ext.onReady(function(){
                 Ext.getCmp('ActiveObName').setText('CLIENTE');
                 Ext.getCmp('ActiveOb').setText('CL');
                 Ext.getCmp('ActiveObID').setText(document.pp_frm.CliNumero.value);
             });"></div>
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td valign="top"><div id="RCPanel" style="display:inline" class="Selector"
                                  onClick="this.className='Selector_Click';
                                      CLPanel.className='Selector';
                                      ORPanel.className='Selector';
                                      ACPanel.className='Selector';
                                      DPPanel.className='Selector';
                                      EXPanel.className='Selector';
                                      Ext.onReady(function(){
                                          Ext.getCmp('ActiveObName').setText('BENEFICIARIO');
                                          Ext.getCmp('ActiveOb').setText('RC');
                                          Ext.getCmp('ActiveObID').setText(document.pp_frm.BnfNumero.value);
                                      });"></div></td>
            <td valign="top"><div id="ACPanel" style="display:inline;height:125px" class="Selector"
                                  onClick="this.className='Selector_Click';
                                      CLPanel.className='Selector';
                                      ORPanel.className='Selector';
                                      RCPanel.className='Selector';
                                      DPPanel.className='Selector';
                                      EXPanel.className='Selector';
                                      Ext.onReady(function(){
                                          Ext.getCmp('ActiveObName').setText('CONTA');
                                          Ext.getCmp('ActiveOb').setText('AC');
                                          Ext.getCmp('ActiveObID').setText(document.pp_frm.cbId.value);
                                      });"></div></td>
        </tr>
    </table>
    <div id="DPPanel" style="display:inline" class="Selector"
         onClick="this.className='Selector_Click';
             CLPanel.className='Selector';
             ORPanel.className='Selector';
             RCPanel.className='Selector';
             ACPanel.className='Selector';
             EXPanel.className='Selector';
             Ext.onReady(function(){
                 Ext.getCmp('ActiveObName').setText('DEPOSITO');
                 Ext.getCmp('ActiveOb').setText('DP');
                 Ext.getCmp('ActiveObID').setText(document.pp_frm.dp_ID.value);
             });"></div>

    <div id="EXPanel" style="display:inline" class="Selector"
         onClick="this.className='Selector_Click';
             CLPanel.className='Selector';
             ORPanel.className='Selector';
             RCPanel.className='Selector';
             ACPanel.className='Selector';
             DPPanel.className='Selector';
             Ext.onReady(function(){
                 Ext.getCmp('ActiveObName').setText('EXCHANGE');
                 Ext.getCmp('ActiveOb').setText('EX');
                 Ext.getCmp('ActiveObID').setText(document.pp_frm.ref.value);
             });"></div>
</div>
<div id="frm_Actions"></div>
</form>
<?php if (isset($_GET['OR'])) {
?>
    <script charset="utf-8" type="text/javascript">
        Ext.onReady(function(){
            replaceUrl('ORPanel','_response/call.php?get=Operative/frm_transferedit&OR=<?php echo $_GET['OR']; ?>');
            Ext.getCmp('ActiveObName').setText('ORDER');
            Ext.getCmp('ActiveOb').setText('OR');
            Ext.getCmp('ActiveObID').setText(<?php echo $_GET['OR']; ?>);
            Ext.getCmp('qwinResults').close();
        });
    </script>
<?php } ?>